package com.hqyj.javaGraduation.hotel.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hqyj.javaGraduation.hotel.pojo.HotelComService;
import com.hqyj.javaGraduation.hotel.pojo.HotelMaterials;
import com.hqyj.javaGraduation.hotel.pojo.HotelMenu;
import com.hqyj.javaGraduation.hotel.pojo.HotelTable;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 原材料Service
 */
public interface HotelMaterialsService {
    //新增
    HashMap<String, Object> addMaterials(HotelMaterials hotelMaterials);
    //修改
    HashMap<String, Object> updateMaterials(HotelMaterials hotelMaterials);
    //删除
    HashMap<String, Object> delMaterials(Integer id);
    //查询
    HashMap<String, Object> MaterialsList(HotelMaterials hotelMaterials);
    //进货列表
    HashMap<String, Object> matSupList(HotelComService hotelComService, int matId);
    //进货
    HashMap<String, Object> updateMatSup(HotelComService hotelComService);
}
